package com.woniuxy.springbootpro.controller;

import com.woniuxy.springbootpro.utile.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/root")
public class UserRootController {

    @RequestMapping("/r1")
    public Result method1(){
        return Result.ok().message("可以访问");
    }

    @RequestMapping("/r2")
    public Result method2(){
        return Result.ok().message("可以访问");
    }

    @RequestMapping("/r3")
    public Result method3(){
        return Result.ok().message("可以访问");
    }
}
